Sort elements by frequency of occurrences python

join shbcf.ru